package com.lv.bean;

import java.io.Serializable;

public class User implements Serializable{

	private String userid;//
	private String name;//
	private boolean active;//
	private String avatar;
	private String department;
	private String mobile;
	private Integer admin;


	public User() {
	}

	public User(String userid, String name, boolean active, String avatar, String department, String mobile, Integer admin) {
		this.userid = userid;
		this.name = name;
		this.active = active;
		this.avatar = avatar;
		this.department = department;
		this.mobile = mobile;
		this.admin = admin;
	}

	public String getUserid() {
		return userid;
	}

	public void setUserid(String userid) {
		this.userid = userid;
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public boolean isActive() {
		return active;
	}

	public void setActive(boolean active) {
		this.active = active;
	}

	public String getAvatar() {
		return avatar;
	}

	public void setAvatar(String avatar) {
		this.avatar = avatar;
	}

	public String getDepartment() {
		return department;
	}

	public void setDepartment(String department) {
		this.department = department;
	}

	public String getMobile() {
		return mobile;
	}

	public void setMobile(String mobile) {
		this.mobile = mobile;
	}

	public Integer getAdmin() {
		return admin;
	}

	public void setAdmin(Integer admin) {
		this.admin = admin;
	}

	@Override
	public String toString() {
		return "User{" +
				"userid='" + userid + '\'' +
				", name='" + name + '\'' +
				", active=" + active +
				", avatar='" + avatar + '\'' +
				", department='" + department + '\'' +
				", mobile='" + mobile + '\'' +
				", admin=" + admin +
				'}';
	}
}
